package thirdfactory;

import thirdfactory.Impl.MarkPersonFactory;

public class Test02 {
    public static void main(String[] args) {
        MarkPersonFactory markPersonFactory = new MarkPersonFactory();
        Person person = (Person)markPersonFactory.getMarkPersonFactory("japan");
        person.eat();
    }
}
